package views;

import entities.Categorie;
import entities.DVD;
import java.util.ArrayList;
import java.util.Collection;

public class CategoryLightView {
    private Categorie categorie;
    private Collection<DVD> dvds;
    private int totalDvds;

    /////////////////////////////CONSTRUCTEURS//////////////////////////////////
    public CategoryLightView() {
        this.dvds = new ArrayList<DVD>();
    }

    public CategoryLightView(Categorie categorie, Collection<DVD> dvds) {
        this.categorie = categorie;
        this.dvds = dvds;
    }

    public CategoryLightView(Categorie categorie, Collection<DVD> dvds, int totalDvds) {
        this.categorie = categorie;
        this.dvds = dvds;
        this.totalDvds = totalDvds;
    }

    public CategoryLightView(Categorie categorie, int totalDvds) {
        this.categorie = categorie;
        this.totalDvds = totalDvds;
    }
    ///////////////////////////////////////////////////////////////////////////

    ///////////////////////////////ACCESSEURS ET MUTATEURS///////////////////////
    public Categorie getCategorie() {
        return categorie;
    }

    public void setCategorie(Categorie categorie) {
        this.categorie = categorie;
    }

    public Collection<DVD> getDvds() {
        return dvds;
    }

    public void setDvds(Collection<DVD> dvds) {
        this.dvds = dvds;
    }

    public int getTotalDvds() {
        return totalDvds;
    }

    public void setTotalDvds(int totalDVDS) {
        this.totalDvds = totalDVDS;
    }
}
